<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--<meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8" />-->
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="../../lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="../../ht-css/Project.css"/>
    <!--[if IE 6]>
    <script type="text/javascript" src="../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../ht-css/style-q.css"/>
    <title>添加自有物流配送时效</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页  <span class="c-gray en">&gt;</span> 发货仓及运送方式<span class="c-gray en">&gt;</span>自有物流配送时效<span class="c-gray en">&gt;</span>添加自有物流配送时效<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <form class="ml-20 mr-20" id="coupon-add">
        <div class="bg-1 bk-gray">
            <div class="bg-1 pd-20 mb-20">
                <table class="table-hover mb-10 table">
                    <thead class="text-l">
                    <tr>
                        <td class="col-2-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-85 lh-30"><em>*</em>发货仓：</label>
                                <select id="dcName" class="select radius ml-10 f-l" style="width:50%;height:30px;" size="1">
                                </select>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-2-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-85 lh-30"><em>*</em>运送方式：</label>
                                <select class="select radius ml-10 f-l" style="width:50%;height:30px;" size="1">
                                    <option value="10">鑫方盛物流</option>
                                </select>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-2-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-85 lh-26"><em>*</em>类型：</label>
                                <div class="formControls f-l ml-10 lh-26">
                                    <span class="mr-40"><input class="mr-5 radio" type="radio" name="genre" value="10">限行</span>
                                    <span class="mr-40"><input class="mr-5 radio"  type="radio" name="genre" value="20" checked>不限行</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-2-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-85 lh-30"><em>*</em>时效：</label>
                                <div class="formControls f-l" style="width:50%;">
                                    <input type="text" id="timeNumber" onkeyup="dateValue(2)" onkeyup="(this.v=function(){this.value=this.value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'');}).call(this)" onblur="this.v();" class="input-text radius ml-10">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-2-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-85 lh-30"><em>*</em>可选天数：</label>
                                <div class="formControls f-l" style="width:50%;">
                                    <input type="text" id="dayNumber" onkeyup="dateValue(1)" onkeyup="(this.v=function(){this.value=this.value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'');}).call(this)" onblur="this.v();" class="input-text radius ml-10">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-2-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-85 lh-30">下单时段：</label>
                                    <div class="clearfix pt-20 pb-20 f-l">
                                        <div class="class-wp27 f-l" style="width:300px;">
                                            <ul class="bk-gray pt-5 w-300" style="height:250px;" id="OrderTimeList">
                                                <li class="clearfix pl-10 mb-5">
                                                    <div class="f-l pd-5">
                                                        <input type="radio" class="radio"/><label class="pl-10">00:00—14:00</label>
                                                    </div>
                                                    <div class="f-r lh-30">
                                                        <a href="##" class="Hui-iconfont icon-edit mr-10" onclick="updOrderTime(this)">&#xe600;</a>
                                                        <a href="##" class="Hui-iconfont icon-edit mr-10" >&#xe6df;</a>
                                                        <a href="##" class="Hui-iconfont icon-edit mr-10" onclick="delOrderTime(this,1)">&#xe6e2;</a>
                                                        <input type="text" class="beginInput" hidden><input class="endInput" type="text" hidden><input class="noonInput" type="text" hidden>
                                                    </div>
                                                </li>
                                            </ul>
                                            <a class="size-L btn btn-primary" style="width:302px;" onclick="addOrderTime()"><i class="Hui-iconfont">&#xe600;</i>添加</a>
                                        </div>
                                    </div>
                            </div>
                        </td>
                        <td class="col-2-1">
                            <div class="row" id="optionalTime">
                                <label class="form-label f-l text-r w-85 lh-30">可选时段：</label>
                                    <div class="clearfix pt-20 pb-20 f-l">
                                    <div class="class-wp27 f-l" style="width:300px;">
                                        <div class="bk-gray pd-5" style="height:280px;">

                                        <div class="f-l pd-5">
                                            <input class="input-text radius w-50 f-l" onblur="moreThan(1)" id="beginTime" onkeyup="(this.v=function(){this.value=this.value.replace(/[^\d{1,}\d{1,}|\d{1,}]/g,'');}).call(this)">
                                            <span class="f-l pl-5 pr-5">—</span>
                                            <input class="input-text radius w-50 f-l" onblur="moreThan(2)" id="endTime" onkeyup="(this.v=function(){this.value=this.value.replace(/[^\d{1,}\d{1,}|\d{1,}]/g,'');}).call(this)">
                                            <select id="noon" class="select radius ml-5 w-60 f-l" style="height:26px;" size="1">
                                                <option value="0" selected>上午</option>
                                                <option value="1">下午</option>
                                                <option value="2">晚上</option>
                                            </select>
                                        </div>

                                        <div class="f-r pt-10 pr-10">
                                            <a href="##" class="ml-10" onclick="insertTime(this)">确认</a>
                                            <a href="##" class="ml-10" onclick="cleanTime(this)">取消</a>
                                        </div>

                                        <ul class="w-280" style="height:270px;" id="optionalList">
                                            <!--<li class="clearfix pl-10 mb-5">
                                                <div class="f-l pd-5">
                                                    <input type="radio" class="radio"/><label class="pl-10 time">
                                                        <span id="00">00</span>:00-<span id="12">12</span>:00<span id="0">上午</span>
                                                    </label>
                                                </div>
                                                <div class="f-r lh-30">
                                                    <a href="##" class="Hui-iconfont icon-edit mr-10" onclick="updateTime(this)">&#xe6df;</a>
                                                    <a href="##" class="Hui-iconfont icon-edit mr-10" onclick="delOrderTime(this,2)">&#xe6e2;</a>
                                                </div>
                                            </li>-->
                                        </ul>


                                    </div>
                                </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    </thead>
                </table>
                <div class="text-c mt-40">
                    <input type="submit" type="button" class="btn btn-secondary radius size-S" value="保&nbsp;&nbsp;存">
                    <input name="" type="reset" class="btn radius size-S ml-10" value="取&nbsp;&nbsp;消">
                </div>
            </div>
        </div>
    </form>

</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../ht-js/Project.js?rev=@@hash"></script>
<script src="../../ht-js/transportWay/logisticsAging-add.js?rev=@@hash"></script>


<script>
    $(function () {
        $("#optionalTime").hide()
        getAllWare();
    })
</script>

</body>
</html>